home *** CD-ROM | disk | FTP | other *** search
/ BlastDOS / pcANYWHERE 2.0.zip / Disk 1.IMA / NETADMIN.INF < prev    next >
INI File  |  1995-08-11  |  5KB  |  191 lines

  1. ; pcANYWHERE administrator install script
  2.  
  3. [InstallVersion]
  4. 3.3
  5.  
  6. [WindowsVersion]
  7. 3.10
  8. "pcANYWHERE for Windows requires"
  9. "Windows version 3.1 or greater."
  10.  
  11. [process]
  12. NetAdminInstall
  13.  
  14. switch94=FALSE
  15. switch91=Exists(Admin10)           ;switch91=TRUE if old @@@ files exist
  16. #ifnot(switch91)                   ;check for 1.0, 5.0, and 4.5 versions
  17.    switch91=Exists(Admin50)        ;we won't copy new ones if they exist
  18.    #ifnot(switch91)
  19.       switch91=Exists(Admin45)
  20.    #endif
  21. #endif
  22. switch90=Exists(BinFile)           ;switch90=TRUE if ANYWHERE.BIN file exists
  23. switch87=Exists(Noreg)                  ;switch87 = TRUE if NoReg file exists
  24.  
  25. Bitmaps(pix)                       ;display background bitmap
  26. AllowIntlChars()                   ;allow international characters
  27. backup(pcawinst)                   ;copy install dll to Windows directory
  28.                                        ;setup the file information for copying
  29. SetActiveCopy(PCACopy, netadmin.inf)
  30.  
  31. ResetTarget(TargetNet)             ;set default target to the network
  32. switch01 = IsRegistered()          ;if not already registered, ask for registration
  33. #ifnot(switch01)
  34.      Registration()
  35. #endif
  36. TargetDrive()                      ;get target drive/path
  37. switch86=Exists(Winaw)             ;switch86=TRUE if WINAW.EXE in target already
  38.  
  39. DisableUtils()
  40. copy()                             ;copy files
  41. EnableUtils()
  42.  
  43. AddToIni(SetNetwork)               ;set network=1 in pcaw.ini
  44. Backup(NetworkUserInstall)
  45.  
  46. CallProc(NetworkCustomize)         ;Update anywhere.bin and get admin options
  47. Delete(OldBaseFiles)               ;remove old pcAW/Win files no longer used
  48. Delete(InstallDLLs)                ;remove install files
  49. Delete(InstallINFs)                ;remove install inf files not used
  50.  
  51. MessageBox(ByeNoReboot)
  52. Exit
  53.  
  54.  
  55. ;-----------------------------------------------------------------------
  56. ; Copy.
  57. ;-----------------------------------------------------------------------
  58.  
  59. [PCACopy]
  60. CopyMain.BaseFiles, "pcANYWHERE",    0, Y, N, Y
  61.  
  62. [PCACopy:CopyDialog]
  63. caption = "Copying pcANYWHERE Files..."
  64. posx = -50
  65. posy = -50
  66.  
  67. ;----------------------------------------------------------------------------------
  68. ;[AdvoDefault]
  69. ;posx = 20
  70. ;posy = 20
  71. ;text = AdvoText
  72.  
  73. ;[AdvoText]
  74. ;"Please fill out your registration"
  75. ;"form to be sure to get information"
  76. ;"about product updates."
  77. ;""
  78.  
  79. [ByeNoReboot]
  80. caption = "pcANYWHERE -- Install Complete"
  81. "This concludes the administrator installation of pcANYWHERE for Windows."
  82. " "
  83. "You are now licensed for one user.  Install your Connect Pack diskettes to increase the license count."
  84. " "
  85. "Each network user should then run INSTALL from the installation directory, not the diskettes."
  86. " "
  87. "Review the README.TXT file for last minute changes and corrections to the documentation."
  88. " "
  89.  
  90. [Registration]
  91. caption =  "pcANYWHERE Installation"
  92. text1   =  RegistText
  93. text2   =  "&Name:"
  94. text3   =  "&Company:"
  95. Cancel  =  "Cancel"
  96. Help     =  "&Help"
  97. appname =  winaw.exe
  98. prevappname = winaw.exe
  99. string  =  "Symantec Install for Windows"
  100. active  =  no
  101.  
  102. [RegistText]
  103. "Welcome to pcANYWHERE for Windows!"
  104. ""
  105. ""
  106. "Please register your name"
  107. "and company below."
  108.  
  109. [TargetDrive]
  110. caption =  "Install pcANYWHERE Program Files To"
  111. defpath =  C:\WINAW
  112. text   =  "Select the drive/directory where you would like the Program files to be installed."
  113. reqspace= "Approximate disk space required for installation"
  114.  
  115. [errors]
  116. noprev  =  "Symantec Install for Windows is already running!"
  117.  
  118. [FileCopy]
  119. errorcaption  =  "Error Copying Files"
  120. insertcaption =  "Insert Diskette"
  121.  
  122. [cancel]
  123. caption = "pcANYWHERE"
  124. text     = "Are you sure you want to exit?"
  125.  
  126. [cancelshell]
  127. caption = "pcANYWHERE"
  128. text     = "Are you sure you want to exit?"
  129.  
  130. ;-----------------------------------------------------------------------
  131.  
  132. [pcawinst]
  133. awinst.dll, awinst.dll, SOURCE, WINDOWS
  134. symkrnl5.dll, symkrnl5.dll, SOURCE, WINDOWS
  135.  
  136. [InstallDLLs]
  137. AWINST.DLL, WINDOWS
  138. WIN.$AW, WINDOWS
  139. SYSTEM.$AW, WINDOWS
  140. AWLPFUNC.DLL, WINDOWS
  141.  
  142. [InstallINFs]
  143. netadmin.inf, target
  144. netunins.inf, target
  145. netuser.inf, target
  146.  
  147. [pix]
  148. color = %s\winaw.bmp
  149.  
  150. [NetworkCustomize]
  151. dll  = awinst.dll
  152. function   = AWNetworkCustomize
  153. ConfigFile = anywhere.bin, target
  154.  
  155. [OldBaseFiles]                ;old pcAW files to be deleted from the target directory
  156. AWMODEM.DAT,    TARGET
  157. AWDB.DLL,       TARGET
  158.  
  159. [SetNetwork]                        ; for admin installs, set "Network=1" in pcaw.ini
  160. IniName = %s\anywhere.ini, TARGET
  161. SectionName = ProgramInformation
  162. Network=1
  163.  
  164. ;These sections are for checking if older versions of the @@@ files exist
  165. [Admin10]
  166. aw@@@___.cn5, TARGET
  167. [Admin45]
  168. aw@@@___.lc1, TARGET
  169. [Admin50]
  170. aw@@@___.bin, TARGET
  171.  
  172. [Winaw]
  173. winaw.exe, TARGET
  174.  
  175. ;Check if anywhere.bin already exists
  176. [BinFile]
  177. anywhere.bin, TARGET
  178.  
  179. [TargetNet]
  180. reset=TARGET
  181. Location=FirstNetDrive
  182.  
  183. [NetworkUserInstall]
  184. netuser.inf, install.inf, target, target
  185. netunins.inf, uninstal.inf, target, target
  186.  
  187. [NoReg]
  188. noreg, SOURCE
  189.  
  190.  
  191.